package com.xinhuajs.articlemg.mapper;

import java.util.List;
import java.util.Map;

import com.xinhuajs.articlemg.pojo.Article;

public interface ArticleMapper {
	List<Article> getArticlesByPage(Map<String, Object> paramMap);

	int getArticleCount(Map<String, Object> paramMap);

	void addArticleInfo(Map<String, Object> paramMap);
	
	Article getArticleByFileid(String fileid);
	
	void updateArticleInfo(Article art);
	
	void deleteArticleInfo(String fileid);
	
	int getArtBrUserCount(Map<String, Object> paramMap);
	int getArtDownUserCount(Map<String, Object> paramMap);
	int getArtGreatUserCount(Map<String, Object> paramMap);
	int getArtComtUserCount(Map<String, Object> paramMap);
	
	 Article getArtBrUserByPage(Map<String, Object> paramMap);
	 
	 Article getArtDownUserByPage(Map<String, Object> paramMap);
	 
	 Article getArtGreatUserByPage(Map<String, Object> paramMap);
	 
	 Article getArtComtUserByPage(Map<String, Object> paramMap);
	
	 
}
